//
//  HotProblemTableViewCell.m
//  WE
//
//  Created by apple on 15/11/28.
//  Copyright © 2015年 UNOHACHA. All rights reserved.
//

#import "HotProblemTableViewCell.h"
#import "Size.h"

@implementation HotProblemTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(20, 20, 15, 15)];
        label.text = @"?";
        label.font = FONT(14);
        label.textAlignment = NSTextAlignmentCenter;
        label.layer.masksToBounds = YES;
        label.layer.cornerRadius = 7.5;
        label.textColor = [UIColor whiteColor];
        label.backgroundColor = [UIColor orangeColor];
        [self.contentView addSubview:label];
        
        UILabel *problemLabel = [[UILabel alloc] initWithFrame:CGRectMake(45, 20, WindowWidth - 45, 20)];
        problemLabel.text = @"如何注册唯一账号,为家人预约?";
        problemLabel.textColor = [UIColor blackColor];
        problemLabel.backgroundColor = [UIColor whiteColor];
        problemLabel.font = FONT(14);
        [self. contentView addSubview:problemLabel];
    }
    
    return self;
}


- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
